import 'package:self32/generated/json/base/json_convert_content.dart';
import 'package:self32/entity/print_entity.dart';

PrintEntity $PrintEntityFromJson(Map<String, dynamic> json) {
	final PrintEntity printEntity = PrintEntity();
	final String? uid = jsonConvert.convert<String>(json['uid']);
	if (uid != null) {
		printEntity.uid = uid;
	}
	final String? uName = jsonConvert.convert<String>(json['uName']);
	if (uName != null) {
		printEntity.uName = uName;
	}
	final int? type = jsonConvert.convert<int>(json['type']);
	if (type != null) {
		printEntity.type = type;
	}
	return printEntity;
}

Map<String, dynamic> $PrintEntityToJson(PrintEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['uid'] = entity.uid;
	data['uName'] = entity.uName;
	data['type'] = entity.type;
	return data;
}